/*
 * mic.h
 *
 * realize mic event.
 *
 * Copyright (C) 2024 Sinh Micro, Inc.
 * Subject to the GNU Public License, version 2.
 *
 * Author: lixiang<lixiang@sinhmicro.com>
 * 
 * Encoding format: GB2312
 * Version: v1.2.2
 * Date: 2024-11-05
 */

#ifndef _MIC_H_
#define _MIC_H_

#include "ec_app_config.h"
#include "mic_det_api.h"

#if (CONFIG_MIC_TYPE == 0)    
    void mic_init(void);
    bool mic_is_trigger(void);
#else
    #define mic_init()
    #define mic_is_trigger() (0)
#endif
void mic_handle_10ms();

#endif